function slides_onclick(slideid){
	slides_set_embed(slideid);
	slides_set_description(slideid);
	slides_set_title(slideid);
}
function  slides_set_embed(slideid) {
	embedcode= YAHOO.util.Dom.get("embed"+slideid).value;
	YAHOO.util.Dom. get("embedcode").value=embedcode;
	}
	
function slides_set_description(slideid) {
	description= YAHOO.util.Dom.get("description"+slideid).value;
//	theframe=document.getElementsByTagName('iframe')[0].contentDocument;
	//thebody=theframe.getElementsByTagName('body')[0];
	//thebody.innerHTML=description;
	YAHOO.util.Dom. get("id_intro").value=description;
}

function slides_set_title(slideid) {
	title= YAHOO.util.Dom.get("title"+slideid).value;
	YAHOO.util.Dom. get("id_name").value=title;
}
	
	
//function createButtons() {
	//buttons = YAHOO.util.Dom.getElementsByClass